Compressor
and Decompressor Installation and Removal
An
application can use compressors and decompressors that are already installed on
a system running the Microsoft Windows operating system. An application can
also install compressors and decompressors for general or special uses. Most
applications will not need to install or remove compressors or decompressors
because they are usually installed by a setup program. An application might,
however, install a compressor directly or install a function as a compressor.
An
application can install a compressor or decompressor (or a function used as a
compressor or decompressor) by using the ICInstall
An
application can locate and open an installed compressor or decompressor by
using the ICLocate
An
application can remove the registry entry for an installed compressor or
decompressor by using the ICRemove
An
application can restrict the use of a compressor or decompressor by installing,
opening, closing, and removing it.
Alternatively,
to use a function internally as a compressor or decompressor without installing
it in the registry, an application can use the ICOpenFunction
The internal
structure of a function used as a compressor or decompressor should be the same
as the DriverProc
Note An application
installing a function as a compressor or decompressor must remove the function
before the application is closed so other applications do not try to use the
function. When removing a function, the application must identify it with the
four-character code used to install it.